<?php get_header();?>
<div id="content">
<div class="main">
<?php if(!get_option('ini_bulletin') && get_option('ini_admin')){} else {include('includes/map.php');};if (have_posts()): while (have_posts()): the_post();?>
<h2 class="title entry-title" property="v:title" style="text-align:center;"><?php the_title();?></h2>
<?php edit_post_link('编辑文章',' &bull; ','');?>
<meta property="v:url" content="<?php the_permalink()?>"/>
<meta property="v:type" content="article"/>
<div class="context" property="v:description">
<?php
if ((count_words ($text))!=='0'): echo '<div class="excerpt"'; if (get_option('ini_excerpt')=='Hide'): echo 'style="display:none"'; endif; echo '>'; if ($post->post_excerpt): echo trim($post->post_excerpt); elseif (get_post_meta($post->ID,'description_value',true)): echo trim(get_post_meta($post->ID,'description_value',true)); else: echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 180,"..."); endif; echo '</div>'; endif;the_content();
?>
</div>
<?php if (get_option('ini_bdshare')) { include('includes/bdshare.php'); }?>
<div class="clear"></div>
<div id="comments"><?php comments_template();?></div>
<?php endwhile; else: endif;?>
</div>
</div>
<?php get_sidebar();?>
</div>
<?php get_footer();?>